From: Nick Roberts Date: Sat, 19 Jun 2004 00:50:04 +0000 (+0000) Subject: (Man-getpage-in-background): Revert previous change but X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21917 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8e3ce0b735af015a3a3035283464c5901b340632;p=emacs.git (Man-getpage-in-background): Revert previous change but make cygwin a special case. --- diff --git a/lisp/man.el b/lisp/man.el index 983be4a91cc..5a07045dda9 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -733,7 +733,8 @@ all sections related to a subject, put something appropriate into the (if (fboundp 'start-process) (set-process-sentinel (start-process manual-program buffer - shell-file-name shell-command-switch + (if (eq system-type 'cygwin) shell-file-name "sh") + shell-command-switch (format (Man-build-man-command) man-args)) 'Man-bgproc-sentinel) (let ((exit-status